package org.spring.springboot.app.agent.withdraw.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.agent.withdraw.domain.po.AccountWithdrawPO;
import org.spring.springboot.app.agent.withdraw.domain.vo.SeachWithdrawVO;

import java.util.List;

public interface AccountWithdrawMapper {
    int deleteByPrimaryKey(String id);

    int insert(AccountWithdrawPO record);

    int insertSelective(AccountWithdrawPO record);

    AccountWithdrawPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AccountWithdrawPO record);

    int updateByPrimaryKey(AccountWithdrawPO record);

    List<AccountWithdrawPO> findAll(SeachWithdrawVO seachVo,@Param("pageNum") int pageNum,
                                    @Param("pageSize") int pageSize);
}